package com.feiyu.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author wanghanbin
 * @email 1336891708@qq.com
 * @date 2021-04-03 12:36:05
 */
@Data
@TableName("tb_lease_order")
public class LeaseOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(value = "order_id",type = IdType.INPUT)
	private String orderId;
	/**
	 * 租赁商品
	 */
	private Integer goodsId;
	/**
	 * 租赁数量
	 */
	private Integer orderNum;
	/**
	 * 买家id
	 */
	private Integer buyerId;
	/**
	 * 卖家id
	 */
	private Integer shopId;
	/**
	 * 租赁计划开始时间
	 */
	private Date orderStartTime;
	/**
	 * 租赁计划结束时间
	 */
	private Date orderEndTime;
	/**
	 * 租赁时长
	 */
	private Integer orderLeaseTime;
	/**
	 * 计时模式
	 */
	private Integer timeMode;
	/**
	 * 发货物流ID
	 */
	private Integer logisticsSendId;
	/**
	 * 返还物流ID
	 */
	private Integer logisticsBackId;
	/**
	 * 创建时间
	 */
	private Date orderCreatTime;
	/**
	 * 完成时间
	 */
	private Date orderFinishTime;
	/**
	 * 租赁费用
	 */
	private Float orderCost;
	/**
	 * 邮费模式
	 */
	private Integer goodsPostageMode;
	/**
	 * 交易进度
	 */
	private Integer orderState;
	/**
	 * 删除标志
	 */
	@TableLogic(value = "0",delval = "1")
	private Integer delFlag;

}
